package com.boot2523.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Tablename 指定实体类对应的数据库表
 * Dept2   dept2表
 * UserAddress  user_address表
 */
@Data
@TableName("dept")
public class Dept2 {
    @TableId(type = IdType.AUTO)
    private int deptno;
    private String dname;
    private String loc;
}
